class Employee:
    def __init__(self, name):
        self.name = name

    def sayHello(self):
        print("Hello, my name is", self.name)


class CEO(Employee):
    def sayHello(self):
        super().sayHello()  # 调用父类的 sayHello 方法
        print("I am the CEO.")


# 创建 CEO 类的实例
ceo = CEO("John Doe")
ceo.sayHello()
